//
// PayOffScene.h
//  airfight
//
//  Created by aaron on 12-11-28.
//  Copyright (c) 2012年 moonriver. All rights reserved.
//

#ifndef __airfight___PayOffScene__
#define __airfight___PayOffScene__

#include "cocos2d.h"
#include "BonusPrototypes.h"
#include "PlayerFighterSprite.h"

USING_NS_CC;

class PayOffLayer : public CCLayer
{
private:
    CCDictionary *bonusDictionary;
    CCSpriteBatchNode *m_SpriteBatch;
    CCSpriteFrameCache *m_SpriteFrameCache;
    
public:
    PayOffLayer();
    virtual ~PayOffLayer();
    virtual bool init(CCDictionary *p_params);
    virtual void onEnter();
    virtual void onExit();
    
    void setType(PayOff_type type);
    void clickBack();
    
    LAYER_CREATE_FUNC_PARAM(PayOffLayer, CCDictionary*, p_params);
};

#endif /* defined(__airfight___PayOffScene__) */
